package com.brspace.qualitycontrol.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 百姓热线
 * </p>
 *
 * @author ${author}
 * @since 2021-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PeopleHotline对象", description="百姓热线")
public class PeopleHotline implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键ID")
      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "类别")
    private String category;

    @ApiModelProperty(value = "来源")
    private String source;

    @ApiModelProperty(value = "承办单位")
    private String organizer;

    @ApiModelProperty(value = "办理期限")
    private String conduct;

    @ApiModelProperty(value = "信息来源")
    private String comeNews;

    @ApiModelProperty(value = "联系当时")
    private Integer tel;

    @ApiModelProperty(value = "当事人")
    private String party;

    @ApiModelProperty(value = "人员类别")
    private String staffType;

    @ApiModelProperty(value = "涉及人数")
    private Integer involvedNum;

    @ApiModelProperty(value = "发生日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date happenTime;

    @ApiModelProperty(value = "发生网格")
    private String happenGrid;

    @ApiModelProperty(value = "发生地点")
    private String happenPlace;

    @ApiModelProperty(value = "附件")
    private String fille;

    @ApiModelProperty(value = "内容")
    private String contents;

    @ApiModelProperty(value = "领导意见")
    private String lingOpinion;

    @ApiModelProperty(value = "处理记录")
    private String record;

    @ApiModelProperty(value = "路由条件")
    private String progress;

    @ApiModelProperty(value = "新房编号")
    private String num;

    @ApiModelProperty(value = "信访日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date letterTime;

    @ApiModelProperty(value = "答复日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date replyTime;

    @ApiModelProperty(value = "限办天数")
    private Integer dayNum;

    @ApiModelProperty(value = "信访文件")
    private String letterFile;

    @ApiModelProperty(value = "经办人")
    private String userId;

    @ApiModelProperty(value = "经办人确认")
    private String userRen;

    @ApiModelProperty(value = "分管领导")
    private String fenId;

    @ApiModelProperty(value = "分管领导意见")
    private String fenRen;

    @ApiModelProperty(value = "分管确认")
    private String fenRenTwo;

    @ApiModelProperty(value = "科室领导")
    private String keId;

    @ApiModelProperty(value = "科室领导意见")
    private String keRen;

    @ApiModelProperty(value = "承办人")
    private String chengUser;

    @ApiModelProperty(value = "承办人意见")
    private String chengRen;

    @ApiModelProperty(value = "节点ID")
    private Integer nodeId;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
